﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Doolin.MongoRepository.Commons
{
  public interface IMongoEntity
  {
    [BsonRepresentation(BsonType.ObjectId)]
    string Id { get;set; }
  }
}
